/* pages/search/index.wxss */
page {
    padding: 12rpx;
    background-color: rgb(221, 223, 220);
}

view.search {
    view.search_input {
        position: relative;
        background-color: #fff;
        height: 78rpx;
        width: 100%;
        border: 2rpx #ccc solid;
        border-radius: 18rpx;
        padding: 0 20rpx;
        color: #666;
        font-size: 30rpx;

        input {
            height: 78rpx;
            width: 100%;
        }

        //清空搜索表单功能 绝对定位
        .clear_input {
            z-index: 3;
            height: 78rpx;
            width: 78rpx;
            position: absolute;
            right: 0rpx;
            top: -3rpx;
            display: flex;
            justify-content: center;
            align-items: center;

            .icon {
                font-size: 40rpx;
            }
        }
    }

    view.search_result_list {
        border-radius: 25rpx;
        overflow: hidden;
        margin-top: 20rpx;

        view.result_item {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            line-height: 48rpx;
            height: 79rpx;
            width: 100%;
            background-color: #fff;
            border-bottom: 2rpx solid #ccc;
            padding: 18rpx 25rpx 28rpx;

        }
    }


}